package com.hdfs;

import java.util.Random;

public class Dianming {

    public static void main(String[] args) {
        String[] arr = {"王光勇",
                "吴蒙恩",
                "徐东东",
                "倪寅辉",
                "梁卫",
                "邱雨杭",
                "王国超",
                "齐卫登",
                "许瑞",
                "余洋",
                "王翔宇",
                "胡涉宇"};

        // 是什么，为什么什么要使用，能够解决什么问题？

        int len = arr.length;

        Random random = new Random();

        int index = random.nextInt(len);

//        System.out.println(index);
        System.out.println(arr[index]);

    }
}
